class Rect:
    def __init__(self, length: float, width: float):
        self._length = length
        self._width = width

    @property
    def length(self):
        return self._length

    @property
    def width(self):
        return self._width

    def area(self, print_result=True):
        result = self._length * self._width
        if print_result:
            print(f"{result:.2f}")
        return result

    @property
    def half_perimeter(self):
        return self._length + self._width

    def perimeter(self, print_result=True):
        result = self.half_perimeter * 2
        if print_result:
            print(f"{result:.2f}")
        return result

    def Sum(self, other: 'Rect'):
        return self.area(print_result=False) + other.area(print_result=False)
